Class Client

Summary

Fully Qualified Name: Laminas\XmlRpc\Client
Implements: Client

Description

An XML-RPC client implementation

Methods

Name Description Defined By
__construct() Create a new XML-RPC client to a remote server Client
call() Send an XML-RPC request to the service (for a specific method) Client
doRequest() Perform an XML-RPC request and return a response. Client
getHttpClient() Gets the HTTP client object. Client
getIntrospector() Gets the introspection object. Client
getLastRequest() The request of the last method call Client
getLastResponse() The response received from the last method call Client
getProxy() Returns a proxy object for more convenient method calls Client
setHttpClient() Sets the HTTP client object to use for connecting the XML-RPC server. Client
setIntrospector() Sets the object used to introspect remote servers Client
setSkipSystemLookup() Set skip system lookup flag Client
skipSystemLookup() Skip system lookup when determining if parameter should be array or struct? Client

Method Details

__construct()

Create a new XML-RPC client to a remote server

Parameter Name Type Description
$server string Full
$httpClient \Laminas\Http\Client HTTP

Returns:

call()

Send an XML-RPC request to the service (for a specific method)

Parameter Name Type Description
$method string Name
$params array Array

Returns: mixed

doRequest()

Perform an XML-RPC request and return a response.

Parameter Name Type Description
$request \Laminas\XmlRpc\Request
$response null|\Laminas\XmlRpc\Response

Returns: void

getHttpClient()

Gets the HTTP client object.

Returns: \Laminas\Http\Client

getIntrospector()

Gets the introspection object.

Returns: \Laminas\XmlRpc\Client\ServerIntrospection

getLastRequest()

The request of the last method call

Returns: \Laminas\XmlRpc\Request

getLastResponse()

The response received from the last method call

Returns: \Laminas\XmlRpc\Response

getProxy()

Returns a proxy object for more convenient method calls

Parameter Name Type Description
$namespace string Namespace

Returns: \Laminas\XmlRpc\Client\ServerProxy

setHttpClient()

Sets the HTTP client object to use for connecting the XML-RPC server.

Parameter Name Type Description
$httpClient \Laminas\Http\Client

Returns: \Laminas\Http\Client

setIntrospector()

Sets the object used to introspect remote servers

Parameter Name Type Description
$ \Laminas\XmlRpc\Client\ServerIntrospection
$introspector

Returns: \Laminas\XmlRpc\Client\ServerIntrospection

setSkipSystemLookup()

Set skip system lookup flag

Parameter Name Type Description
$flag bool

Returns: \Laminas\XmlRpc\Client

skipSystemLookup()

Skip system lookup when determining if parameter should be array or struct?

Returns: bool

Top